'use strict';

App.controller('dashboardController', ['$rootScope', '$scope', '$state', 'Page', function($rootScope, $scope, $state, Page) {



    $scope.$on('$viewContentLoaded', function() {
        // initialize core components
        Metronic.initAjax();
        // set sidebar closed and body solid layout mode
        $rootScope.settings.layout.pageSidebarClosed = false;
    });
    Page.ajaxPost('dashboard/mtApplyQuery.do', null, function(resp){
        $scope.maintenanceList = resp.data;
    })
}]);
